package com.dofast.module.system.convert.expresselectronicsheet;

import java.util.*;

import com.dofast.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.dofast.module.system.controller.admin.expresselectronicsheet.vo.*;
import com.dofast.module.system.dal.dataobject.expresselectronicsheet.ExpressElectronicsheetDO;

/**
 * 电子面单 Convert
 *
 * @author 惠智造
 */
@Mapper
public interface ExpressElectronicsheetConvert {

    ExpressElectronicsheetConvert INSTANCE = Mappers.getMapper(ExpressElectronicsheetConvert.class);

    ExpressElectronicsheetDO convert(ExpressElectronicsheetCreateReqVO bean);

    ExpressElectronicsheetDO convert(ExpressElectronicsheetUpdateReqVO bean);

    ExpressElectronicsheetRespVO convert(ExpressElectronicsheetDO bean);

    List<ExpressElectronicsheetRespVO> convertList(List<ExpressElectronicsheetDO> list);

    PageResult<ExpressElectronicsheetRespVO> convertPage(PageResult<ExpressElectronicsheetDO> page);

    List<ExpressElectronicsheetExcelVO> convertList02(List<ExpressElectronicsheetDO> list);

}
